package tech.aistar.corejava.day08.factory;

/**
 * Created by 豆梦寒 on 2019/7/24.
 */
public class MyBeanFactory {
    public static IUseDao1 getInstance(){
        //return new UserDaoImpl();//创建bean的语法
        return new UserDaoImpl2();

    }

}
